package com.itestor.iptv.modules.ne.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/** 
 * @author Mr.li
 */
@Entity
@Table(name = "ROBOTNETINFO")
public class RobotNetInfo {

    private Integer idRobot;
    
    private String ipAddress;
    
    private String comPort;
    
    private Integer irPort;
    
    private Integer irAgentPort;
    
    private Integer videoAgentPort;
    
    private Integer qosAgentPort;
    
    private Integer picAgentPort;
    
    private String robotDesc;
    
    private Date ipUpdateTime;
    
    
    @Id 
    @Column(name = "IDROBOT")
    public Integer getIdRobot() {
        return idRobot;
    }

    public void setIdRobot(Integer pIdRobot) {
        idRobot = pIdRobot;
    }

    @Column(name = "IPADDRESS")
    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String pIpAddress) {
        ipAddress = pIpAddress;
    }

    @Column(name = "COMPORT")
    public String getComPort() {
        return comPort;
    }

    public void setComPort(String pComPort) {
        comPort = pComPort;
    }

    @Column(name = "IRPORT")
    public Integer getIrPort() {
        return irPort;
    }

    public void setIrPort(Integer pIrPort) {
        irPort = pIrPort;
    }

    @Column(name = "IRAGENTPORT")
    public Integer getIrAgentPort() {
        return irAgentPort;
    }

    public void setIrAgentPort(Integer pIrAgentPort) {
        irAgentPort = pIrAgentPort;
    }
    
    @Column(name = "VIDEOAGENTPORT")
    public Integer getVideoAgentPort() {
        return videoAgentPort;
    }

    public void setVideoAgentPort(Integer pVideoAgentPort) {
        videoAgentPort = pVideoAgentPort;
    }

    @Column(name = "QOSAGENTPORT")
    public Integer getQosAgentPort() {
        return qosAgentPort;
    }

    public void setQosAgentPort(Integer pQosAgentPort) {
        qosAgentPort = pQosAgentPort;
    }

    @Column(name = "PICAGENTPORT")
    public Integer getPicAgentPort() {
        return picAgentPort;
    }

    public void setPicAgentPort(Integer pPicAgentPort) {
        picAgentPort = pPicAgentPort;
    }

    @Column(name = "ROBOTDESC")
    public String getRobotDesc() {
        return robotDesc;
    }

    public void setRobotDesc(String pRobotDesc) {
        robotDesc = pRobotDesc;
    }
    
    @Column(name = "IPUPDATETIME")
    @Temporal(TemporalType.TIMESTAMP)
    public Date getIpUpdateTime(){
        return ipUpdateTime;
    }

    public void setIpUpdateTime(Date pIpUpdateTime) {
        ipUpdateTime = pIpUpdateTime;
    }

    
}
